Skip to content

Instantly share code, notes, and snippets.

@sorrycc
sorrycc / extract-sourcemap.mjs
Created March 31, 2026 08:57
Extract original source code from JavaScript .map (source map) files. Reads sourcesContent, skips node_modules, reconstructs the original file tree.
#!/usr/bin/env node
/**
* Extract original source code from a JavaScript source map file.
*
* Usage:
* node extract-sourcemap.mjs <path-to-.map-file> [output-dir]
*
* Example:
* node extract-sourcemap.mjs cli.js.map ./src-extracted
@zoltan-magyar
zoltan-magyar / xcode-claude-code-third-party.md
Last active March 31, 2026 18:04
Xcode Claude Code integration with third-party APIs

Setting Up Xcode Claude Code with Third-Party API Endpoints

This guide explains how to configure Xcode's built-in Claude Code integration to work with third-party API endpoints instead of the official Anthropic API. You need macOS 26.2+ and Xcode 26.3+ for the Claude Code integration.

Step 1: Install Claude Code component in Xcode

You need to first install Xcode's own Claude Code instance, with its own Claude Code binary.

Xcode Settings -> Intelligence -> Anthropic -> Claude Agent -> press Get button

@ehsan18t
ehsan18t / processor-boost-mode.md
Last active March 31, 2026 18:00
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@ocombe
ocombe / README.md
Last active March 31, 2026 17:55
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active March 31, 2026 17:54
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

<h1>👋 Hello World!</h1>
@yanchuk
yanchuk / CLAUDE_CODE_ARCHITECTURE.md
Created March 31, 2026 16:16
Claude Code Agent — Complete Architecture Deep Dive (source code analysis)

Claude Code Agent — Complete Architecture Deep Dive

A comprehensive analysis of the Claude Code CLI agent source code. Covers every subsystem: core loop, memory, orchestration, permissions, UI, MCP, skills, and more. Includes ASCII diagrams, design patterns, and ideas for building agent orchestrator systems.


Table of Contents